var faye = require('faye');

var endpoint = process.argv[2] || 'http://localhost:8000/',
    client   = new faye.Client(endpoint);

client.publish('/special', {title: 'New Message', url:'test.com', type:'0', imgurl:'test.com/test.png', desc:'', msg:'Message from client 1!', ext: ''});